package com.example.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("spend-listservice")
public interface Spend_listClient {
    @GetMapping("/spend_list/consumeBook")
    void consumeBook(@RequestParam Long bookId, @RequestParam Long userId);

    @GetMapping("/spend_list/rechargeRecord")
    void rechargeRecord(@RequestParam Integer czMoney, @RequestParam Long userId);
}
